package com.vue.designPatterns.abstractFactory;

import com.vue.designPatterns.factory.Sender;
import com.vue.designPatterns.factory.SmsSender;

/**
 * Created by Administrator on 2019/3/14.
 * 抽象工厂模式
 * 个人理解相当于创建了一个工厂的接口,
 */
public class SendSmsFactory implements Provider {

    @Override
    public Sender produce() {
        return new SmsSender();
    }
}
